package com.o2o.service;

/**
 * package_name:com.o2o.service
 * Author:徐亚远
 * Date:2019/12/25 18:38
 * 项目名:o2o
 * Desription:
 **/
public interface CacheService {

    /*
    * 依据key前缀删除匹配该模式下的所有key-value如传入shopCategory则shopcategory_allfirstleve等
    * 以shopcategory打头的key-value都会被清空
    * @param keyPrefix
    * @return
    * */

     void removeFromCache(String keyPrefix);
}
